const HTTP = require("./request");
module.exports = {

  // https://apis.netstart.cn/xmsc/home/category_v2
  "getCategoryData":function(){
      return HTTP({
        url:"/home/category_v2",
        method:"get",
      })
  },
  // https://apis.netstart.cn/xmsc/home/category_v2?cat_id=1251
   "getProductData":function(data){
    return HTTP({
      url:"/home/category_v2",
      method:"get",
      data
    })
},
}